/**
 * Created by 白雨浓 on 17-8-10 上午11:15.
 *
 * 编程式路由 简写
 */
export default {
  methods: {
    jump (name, params) {
      if (this.$router) {
        this.$router.push({name, params})
      }
    },
    jump(to){
      if (this.$router) {
        this.$router.push(to)
      }
    }
  }
}
